﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharpReview
{
    //定义用户类，存放用户的账号、用户名和密码属性；
    class Users
    {
        public string Account { get; set; }
        public string Password { get; set; }

        public void PrintUserInfo()
        {
            Console.WriteLine($"当前用户的用户名为{this.Account},密码为{this.Password}。");
        }
    }
}
